@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
37 lines (28 loc) • 709 B
text/typescript
import { createStyles } from 'antd-style';
export const useStyles = createStyles(({ css, token }) => ({
prompt: css`
overflow: hidden auto;
padding-block: 0 16px;
padding-inline: 16px;
opacity: 0.75;
transition: opacity 200ms ${token.motionEaseOut};
&:hover {
opacity: 1;
}
`,
promptBox: css`
position: relative;
overflow: hidden;
border-block-end: 1px solid ${token.colorBorder};
`,
promptMask: css`
pointer-events: none;
position: absolute;
z-index: 10;
inset-block-end: 0;
inset-inline-start: 0;
width: 100%;
height: 32px;
background: linear-gradient(to bottom, transparent, ${token.colorBgLayout});
`,
}));